﻿using System;
using System.Collections.Generic;
using System.Text;

using System.Xml;
using System.Xml.Serialization;

namespace KSS.Generator.Schema
{
    public class Connection
    {
        private string _mode;
        [XmlAttribute]
        public string Mode
        {
            get { return _mode; }
            set { _mode = value; }
        }

        private string _connectionString;
        [XmlAttribute]
        public string ConnectionString
        {
            get { return _connectionString; }
            set { _connectionString = value; }
        }

        private string _settingsObjectName;
        [XmlAttribute]
        public string SettingsObjectName
        {
            get { return _settingsObjectName; }
            set { _settingsObjectName = value; }
        }

        private string _settingsPropertyName;
        [XmlAttribute]
        public string SettingsPropertyName
        {
            get { return _settingsPropertyName; }
            set { _settingsPropertyName = value; }
        }

        private string _provider;
        [XmlAttribute]
        public string Provider
        {
            get { return _provider; }
            set { _provider = value; }
        }
    }
}
